﻿<UserControl
    x:Class="Insteon.Mayhem.NewReactionPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:my="clr-namespace:Insteon.Mayhem.Widgets"
    xmlns:my1="clr-namespace:Insteon.Mayhem"    
    mc:Ignorable="d" 
    Width="400"
    Height="268"
    Loaded="UserControl_Loaded"
    >
    
    <Canvas HorizontalAlignment="Left" VerticalAlignment="Top">
        <TextBlock Canvas.Left="12" Canvas.Top="12" Height="109" Name="captionTextBlock" Text="One moment please..." Width="374" TextWrapping="Wrap" />
        <Button Canvas.Left="306" Canvas.Top="12" Content="Try Again" Height="28" Name="retryButton" Width="80" Click="retryButton_Click" Visibility="Hidden"/>
        <my:SwitchLincAnimation Visibility="Hidden" x:Name="animation" Canvas.Left="-1" Canvas.Top="-15" Step1="Press the SET button on the INSTEON device you would like to turn on or off with this reaction and hold it down for 3 seconds." Step2="The device will automatically link as soon as it enters linking mode." />
    </Canvas>
    
</UserControl>
